<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Flow Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_flow-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Flow Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents material flow; provides methods to predict material spacing.  
 <a href="class_flow.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_flow_8hpp_source.html">Flow.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac013d57d3a6c758725d9a33b340353bb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#ac013d57d3a6c758725d9a33b340353bb">Flow</a> (float _w, float _h, float _nd, bool _bridge=false)</td></tr>
<tr class="separator:ac013d57d3a6c758725d9a33b340353bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa48b5156059145c503746f2d2da3e15a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#aa48b5156059145c503746f2d2da3e15a">spacing</a> () const</td></tr>
<tr class="separator:aa48b5156059145c503746f2d2da3e15a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b59b6b47dca0ece4b01561f81f021a8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#a0b59b6b47dca0ece4b01561f81f021a8">spacing</a> (const <a class="el" href="class_flow.html">Flow</a> &amp;other) const</td></tr>
<tr class="separator:a0b59b6b47dca0ece4b01561f81f021a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2519adb0f0dd13ea0b6a9afd6984ab3a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#a2519adb0f0dd13ea0b6a9afd6984ab3a">set_spacing</a> (float <a class="el" href="class_flow.html#aa48b5156059145c503746f2d2da3e15a">spacing</a>)</td></tr>
<tr class="separator:a2519adb0f0dd13ea0b6a9afd6984ab3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95b381a7cf39f387804ce8208cf81d1a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#a95b381a7cf39f387804ce8208cf81d1a">set_solid_spacing</a> (const <a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> total_width)</td></tr>
<tr class="separator:a95b381a7cf39f387804ce8208cf81d1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab80db1d728a9bb93a681dd27eba4f69a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#ab80db1d728a9bb93a681dd27eba4f69a">set_solid_spacing</a> (const <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> total_width)</td></tr>
<tr class="separator:ab80db1d728a9bb93a681dd27eba4f69a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a98d9fbbe4a018796407f8fa015159d"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#a4a98d9fbbe4a018796407f8fa015159d">mm3_per_mm</a> () const</td></tr>
<tr class="separator:a4a98d9fbbe4a018796407f8fa015159d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8944d3eb495c16c8be1d892ad28a9d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#ac8944d3eb495c16c8be1d892ad28a9d2">scaled_width</a> () const</td></tr>
<tr class="separator:ac8944d3eb495c16c8be1d892ad28a9d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68d78cf1f932a4f8876971d51e797b9b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#a68d78cf1f932a4f8876971d51e797b9b">scaled_spacing</a> () const</td></tr>
<tr class="separator:a68d78cf1f932a4f8876971d51e797b9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1478a935f0efaf1764d734791ebb1a47"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#a1478a935f0efaf1764d734791ebb1a47">scaled_spacing</a> (const <a class="el" href="class_flow.html">Flow</a> &amp;other) const</td></tr>
<tr class="separator:a1478a935f0efaf1764d734791ebb1a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:adad99a84bea22a4e078fd92b6dfeef88"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_flow.html">Flow</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#adad99a84bea22a4e078fd92b6dfeef88">new_from_config_width</a> (FlowRole role, const <a class="el" href="class_slic3r_1_1_config_option_float_or_percent.html">ConfigOptionFloatOrPercent</a> &amp;<a class="el" href="class_flow.html#a448644e7a8217b7716f6fcf4bded453a">width</a>, float <a class="el" href="class_flow.html#a4876f44304ac16075d73e1ad70e9eca8">nozzle_diameter</a>, float <a class="el" href="class_flow.html#ac4dfdb26fab904afc64c29db4493131c">height</a>, float bridge_flow_ratio)</td></tr>
<tr class="memdesc:adad99a84bea22a4e078fd92b6dfeef88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static method to build a <a class="el" href="class_flow.html" title="Represents material flow; provides methods to predict material spacing. ">Flow</a> object from an extrusion width config setting and some other context properties.  <a href="#adad99a84bea22a4e078fd92b6dfeef88">More...</a><br /></td></tr>
<tr class="separator:adad99a84bea22a4e078fd92b6dfeef88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab34e0f4e57cc3f5a23d657cf7ecf5ca6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_flow.html">Flow</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#ab34e0f4e57cc3f5a23d657cf7ecf5ca6">new_from_spacing</a> (float <a class="el" href="class_flow.html#aa48b5156059145c503746f2d2da3e15a">spacing</a>, float <a class="el" href="class_flow.html#a4876f44304ac16075d73e1ad70e9eca8">nozzle_diameter</a>, float <a class="el" href="class_flow.html#ac4dfdb26fab904afc64c29db4493131c">height</a>, bool <a class="el" href="class_flow.html#a6223d00ebcee9108aced97967521737a">bridge</a>)</td></tr>
<tr class="memdesc:ab34e0f4e57cc3f5a23d657cf7ecf5ca6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static method to build a <a class="el" href="class_flow.html" title="Represents material flow; provides methods to predict material spacing. ">Flow</a> object from a specified centerline spacing (center-to-center).  <a href="#ab34e0f4e57cc3f5a23d657cf7ecf5ca6">More...</a><br /></td></tr>
<tr class="separator:ab34e0f4e57cc3f5a23d657cf7ecf5ca6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80760bc903a95b5cba58adb91b3782f0"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a80760bc903a95b5cba58adb91b3782f0"><td class="memTemplItemLeft" align="right" valign="top">static T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_flow.html#a80760bc903a95b5cba58adb91b3782f0">solid_spacing</a> (const T total_width, const T <a class="el" href="class_flow.html#aa48b5156059145c503746f2d2da3e15a">spacing</a>)</td></tr>
<tr class="separator:a80760bc903a95b5cba58adb91b3782f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a448644e7a8217b7716f6fcf4bded453a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#a448644e7a8217b7716f6fcf4bded453a">width</a></td></tr>
<tr class="separator:a448644e7a8217b7716f6fcf4bded453a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4dfdb26fab904afc64c29db4493131c"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#ac4dfdb26fab904afc64c29db4493131c">height</a></td></tr>
<tr class="separator:ac4dfdb26fab904afc64c29db4493131c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4876f44304ac16075d73e1ad70e9eca8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#a4876f44304ac16075d73e1ad70e9eca8">nozzle_diameter</a></td></tr>
<tr class="separator:a4876f44304ac16075d73e1ad70e9eca8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6223d00ebcee9108aced97967521737a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_flow.html#a6223d00ebcee9108aced97967521737a">bridge</a></td></tr>
<tr class="separator:a6223d00ebcee9108aced97967521737a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents material flow; provides methods to predict material spacing. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac013d57d3a6c758725d9a33b340353bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac013d57d3a6c758725d9a33b340353bb">&#9670;&nbsp;</a></span>Flow()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Flow::Flow </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_nd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>_bridge</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4a98d9fbbe4a018796407f8fa015159d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a98d9fbbe4a018796407f8fa015159d">&#9670;&nbsp;</a></span>mm3_per_mm()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Flow::mm3_per_mm </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="adad99a84bea22a4e078fd92b6dfeef88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adad99a84bea22a4e078fd92b6dfeef88">&#9670;&nbsp;</a></span>new_from_config_width()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_flow.html">Flow</a> Flow::new_from_config_width </td>
          <td>(</td>
          <td class="paramtype">FlowRole&#160;</td>
          <td class="paramname"><em>role</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_config_option_float_or_percent.html">ConfigOptionFloatOrPercent</a> &amp;&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>nozzle_diameter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>bridge_flow_ratio</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Static method to build a <a class="el" href="class_flow.html" title="Represents material flow; provides methods to predict material spacing. ">Flow</a> object from an extrusion width config setting and some other context properties. </p>

</div>
</div>
<a id="ab34e0f4e57cc3f5a23d657cf7ecf5ca6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab34e0f4e57cc3f5a23d657cf7ecf5ca6">&#9670;&nbsp;</a></span>new_from_spacing()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_flow.html">Flow</a> Flow::new_from_spacing </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>spacing</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>nozzle_diameter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bridge</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Static method to build a <a class="el" href="class_flow.html" title="Represents material flow; provides methods to predict material spacing. ">Flow</a> object from a specified centerline spacing (center-to-center). </p>

</div>
</div>
<a id="a68d78cf1f932a4f8876971d51e797b9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68d78cf1f932a4f8876971d51e797b9b">&#9670;&nbsp;</a></span>scaled_spacing() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> Flow::scaled_spacing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a1478a935f0efaf1764d734791ebb1a47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1478a935f0efaf1764d734791ebb1a47">&#9670;&nbsp;</a></span>scaled_spacing() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> Flow::scaled_spacing </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_flow.html">Flow</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac8944d3eb495c16c8be1d892ad28a9d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8944d3eb495c16c8be1d892ad28a9d2">&#9670;&nbsp;</a></span>scaled_width()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> Flow::scaled_width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a95b381a7cf39f387804ce8208cf81d1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95b381a7cf39f387804ce8208cf81d1a">&#9670;&nbsp;</a></span>set_solid_spacing() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Flow::set_solid_spacing </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a>&#160;</td>
          <td class="paramname"><em>total_width</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab80db1d728a9bb93a681dd27eba4f69a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab80db1d728a9bb93a681dd27eba4f69a">&#9670;&nbsp;</a></span>set_solid_spacing() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Flow::set_solid_spacing </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>&#160;</td>
          <td class="paramname"><em>total_width</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2519adb0f0dd13ea0b6a9afd6984ab3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2519adb0f0dd13ea0b6a9afd6984ab3a">&#9670;&nbsp;</a></span>set_spacing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Flow::set_spacing </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>spacing</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a80760bc903a95b5cba58adb91b3782f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80760bc903a95b5cba58adb91b3782f0">&#9670;&nbsp;</a></span>solid_spacing()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">template <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> Flow::solid_spacing&lt; <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> &gt; </td>
          <td>(</td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>total_width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>spacing</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Calculate a new spacing to fill width with possibly integer number of lines, the first and last line being centered at the interval ends. This function possibly increases the spacing, never decreases, and for a narrow width the increase in spacing may become severe, therefore the adjustment is limited to 20% increase. </p>

</div>
</div>
<a id="aa48b5156059145c503746f2d2da3e15a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa48b5156059145c503746f2d2da3e15a">&#9670;&nbsp;</a></span>spacing() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Flow::spacing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return the centerline spacing between two adjacent extrusions that have the same properties (width, etc). Models as a rectangle with semicircles at the ends. </p>

</div>
</div>
<a id="a0b59b6b47dca0ece4b01561f81f021a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b59b6b47dca0ece4b01561f81f021a8">&#9670;&nbsp;</a></span>spacing() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Flow::spacing </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_flow.html">Flow</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return the centerline spacing between two <a class="el" href="class_flow.html" title="Represents material flow; provides methods to predict material spacing. ">Flow</a> objects (current and some other flow). </p><dl class="section remark"><dt>Remarks</dt><dd>this-&gt;spacing(other) == other.spacing(this) </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a6223d00ebcee9108aced97967521737a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6223d00ebcee9108aced97967521737a">&#9670;&nbsp;</a></span>bridge</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Flow::bridge</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac4dfdb26fab904afc64c29db4493131c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4dfdb26fab904afc64c29db4493131c">&#9670;&nbsp;</a></span>height</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Flow::height</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4876f44304ac16075d73e1ad70e9eca8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4876f44304ac16075d73e1ad70e9eca8">&#9670;&nbsp;</a></span>nozzle_diameter</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Flow::nozzle_diameter</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a448644e7a8217b7716f6fcf4bded453a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a448644e7a8217b7716f6fcf4bded453a">&#9670;&nbsp;</a></span>width</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Flow::width</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_flow_8hpp_source.html">Flow.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_flow_8cpp.html">Flow.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
